import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'lucide:hotel',
      order: 30,
      title: '房价房态',
    },
    name: 'Room',
    path: '/room',
    redirect: '/room/calendar-list',
    children: [
      {
        name: 'CalendarList',
        path: 'calendar-list',
        component: () => import('#/views/room/calendar-list/index.vue'),
        meta: {
          title: '日历',
        },
      },
      {
        name: 'HousePrice',
        path: 'house-price',
        component: () => import('#/views/room/house-price/index.vue'),
        meta: {
          title: '房价维护',
        },
      },
      {
        name: 'HouseCount',
        path: 'house-count',
        component: () => import('#/views/room/house-count/index.vue'),
        meta: {
          title: '房量房态',
        },
      },
    ],
  },
];

export default routes;
